package com.forekonw.demo8;

public class TestSingle {
    public static void main(String[] args) {
    //    SingleDemo singleDemo = new SingleDemo();

        SingleDemo a = SingleDemo.getInstance();
        a.setName("tony");
        System.out.println(a.getName());
    }
}
